package com.vanke.devops.domain.manager.dingding.bean;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author 陈景阳
 * @since 2018/6/6
 */
@Getter
@Setter
public class TextMsg {

    private String msgtype = "text";

    private Content text;

    private At at;

    public TextMsg(String content) {
        this.text = new Content(content);
    }

    @Getter
    @Setter
    public static class Content {
        private String content;

        public Content(String content) {
            this.content = content;
        }
    }
}
